JMFSSToURL
Converts a Mac OS file system specification record (FSSpec
) into a Uniform Resource Locator (URL) string.
Handle JMFSSToURL (JMSessionRef session, const FSSpec* spec);
session
- The current session.
- spec
- A pointer to a file system specification record.
- function result
- A handle containing a URL string in the form
file://xxxx
. If the file cannot be found, the function returnsnull
.DISCUSSION
TheJMFSSToURL
function resolves the path of the file represented by the file system specification record and returns this information as a URL string. The handle returned points to a null-terminated string. Your application is responsible for calling the Mac OS Toolbox functionDisposeHandle
to release the allocated handle.SEE ALSO
TheJMURLToFSS
function.